@import "./reset.less";
@blue: #1890ff;
@yellow: #ff7200;

body {
    margin: 0;
    min-width: 1024px;
    height: 100%;
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1", SimSun, sans-serif;
}

.bg-gray {
    background: #f3f3f3;
}

.header {
    position: fixed;
    z-index: 1000;
    width: 100%;
    height: 50px;
    line-height: 50px;
    background: #262626;
    padding: 0 12px;
    .ant-menu-dark {
        border: 0;
        background: #262626;
        line-height: 50px;
        .ant-menu-item-selected {
            background-color: #262626;
            color: #3d91ff;
        }
    }
    .logo {
        color: #fff;
        line-height: 50px;
        width: 200px;
        font-size: 16px;
        float: left;
    }
}

.content {
    padding-top: 50px;
    height: 100%;
    > .ant-layout-has-sider {
        height: 100%;
    }
    .menu-title {
        font-size: 16px;
        line-height: 1.2;
        display: block;
        padding: 0 20px;
        color: #fff;
        height: 50px;
        box-sizing: border-box;
        width: 200px;
        margin-bottom: 0;
        &:before {
            content: '';
            width: 0;
            height: 100%;
            display: inline-block;
            vertical-align: middle;
        }
    }
}

.main {
    padding: 0 16px;
}

.side-menu {
    background: #333;
    width: 200px;
    .ant-menu-dark, .ant-menu-dark .ant-menu-sub {
        background: #333;
    }
    .ant-menu-item-selected {
        background-color: #333 !important;
        color: @blue;
    }
    .ant-menu-item {
        font-size: 13px;
        line-height: 36px;
        height: 36px;
    }
}

.page-title {
    line-height: 32px;
    font-size: 18px;
    color: #333;
    padding: 14px 0;
}

.yellow {
    color: @yellow;
}

.ant-table {
    margin-top: 16px;
    .ant-table-thead {
        th {
            background-color: #f6f8fa;
            border-bottom: 1px solid #d1d5de;
            border-top: 1px solid #d1d5de;
            padding: 8px 16px;
            font-size: 12px;
        }
    }
    .ant-table-tbody {
        font-size: 12px;
    }
}

.ant-layout {
    background: #fff;
}

.ant-layout-sider-trigger {
    background: #333;
}
.ant-advanced-search-form {
    padding: 16px;
    background: #fbfbfb;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
}

.ant-advanced-search-form .ant-form-item {
    display: flex;
    margin-bottom: 0;
    .ant-form-item-label label {
        font-size: 12px;
    }
    .ant-calendar-picker {
        width: 100%;
    }
}

.ant-advanced-search-form .ant-form-item-control-wrapper {
    flex: 1;
}

.login {
    width: 100%;
    height: 100%;
    padding-top: 10%;
    background-image: url(https://dn-coding-net-production-static.qbox.me/b42099fa-5e5a-4ebc-9146-6265992c5d4f.jpg);
    position: relative;
    -webkit-box-pack: center;
    background-size: cover;
    background-position: 50%;
    .ant-input {
        height: 46px;
    }
    .login-title {
        margin-bottom: 60px;
        text-align: center;
        color: #fff;
        font-size: 32px;
    }
    .login-form {
        margin: 0 auto;
        width: 350px;
        .login-form-button {
            width: 100%;
            height: 40px;
        }
    }
}

.nav-menu {
    position: absolute;
    right: 12px;
    z-index: 1000;
    top: 0;
    a {
        color: #aaa;
        font-size: 13px;
    }
    .user-serviceName {
        display: inline-block;
        padding-right: 16px;
        color: #fff;
        font-size: 16px;
    }
}

#console-main {
    margin-top: 70px;
    .ant-layout {
        background: #f3f3f3;
    }
    .ant-layout-sider {
        background: #f3f3f3;
    }
}

.console-content {
    margin-top: 12px;
}

.console-user-info {
    font-size: 16px;
    line-height: 1.2;
    display: block;
    padding: 0 20px;
    height: 60px;
    box-sizing: border-box;
    width: 220px;
    margin-bottom: 0;
    background: #fff;
}

.console-menu-block {
    margin-top: 8px;
}

.console-router-content {
    margin-top: 12px;
    background: #fff;
    min-height: 900px;
    padding: 22px;
}
.avatar-uploader{
    .ant-upload-select-picture-card{
        width:285px !important;
        height:185px !important;
        img{
            width:285px;
            height:185px;
        }
    }
}
.RichEditor-editor .public-DraftEditor-content{
    min-height: 250px!important;
}

.app-title {
    font-weight: bold;
    font-size: 18px;
    color: #555;
    margin-bottom: 22px;
}

